package com.yq.practice.design.flyweight;

/**
 * @ClassName ConcreteWeb
 * @Description TODO
 * @Author yaoqiang
 * @Date 2021/2/23 9:22
 * @Version 1.0
 */
public class ConcreteWeb extends Web {
    private String type="";

    public ConcreteWeb(String type) {
        this.type = type;
    }

    @Override
    public void use(User user) {
        System.out.println(user.getName()+"   "+type);
    }

}
